package com.weijianhuawen.wjblog.admin.mode.vo.user;

import com.weijianhuawen.wjblog.common.validator.PhoneNumber;
import com.weijianhuawen.wjblog.common.validator.QQAccount;
import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.Email;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @version: java version 8
 * @Author: weijianhuawen
 * @description:
 * @date: 2024-12-24 21:02
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@ApiModel(value = "修改用户账户请求实体")
public class UpdateUserAccountReqVo {
    // 用户id
    @NotNull(message = "用户id不能为空！")
    private Long userId;
    // 邮箱
    @NotBlank(message = "用户邮箱不能为空！")
    private String mail;
    // 手机号
    private String phoneNumber;
    // qq
    private String qqId;
    // 密码
    private String password;
}
